package cn.cdqf.coupon.dispatch;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("cn.cdqf.coupon.dispatch.dao")
@EnableSwagger2
@EnableAsync
@ComponentScan({"cn.cdqf.global","cn.cdqf.coupon","cn.cdqf.manager"})
public interface DispatchApplication {
    public static void main(String[] args) {
        SpringApplication.run(DispatchApplication.class);
    }
}
